package com.innoking.docsys.utils;

import java.io.Serializable;

/**
 * @Description:返回对象
 * @Auther: S
 * @Date: 2018/8/23 13:48
 */
public class ResultVO<T> implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 返回码 **/
    private String status;

    /** 返回信息 **/
    private String msg;

    /** 返回内容 **/
    private T data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString(){
        return "\"status\":"+status+",\"msg\": "+msg+",\"obj\":"+data;
    }
}
